package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 通讯录公开用户表
 *
 */
@Entity
@Table
public class CommunicationPublic implements Serializable {

	
	private static final long serialVersionUID = -2223831958610607358L;
	
	private Integer code;
	private Integer cc;						// 通讯录编号
	private Integer commu;					// 共享用户编号
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getCc() {
		return cc;
	}
	@Column
	public Integer getCommu() {
		return commu;
	}

	
	
	
	
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setCc(Integer cc) {
		this.cc = cc;
	}
	public void setCommu(Integer commu) {
		this.commu = commu;
	}
	
}
